﻿using AutoMapper;
using MenuService.Entities;
using MenuService.Menu.Dto;

namespace MenuService;

public class MenuServiceApplicationAutoMapperProfile : Profile
{
    public MenuServiceApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */
        CreateMap<AbpMenu, MenuDto>(MemberList.None);
        CreateMap<MenuCreateOrUpdateDto, AbpMenu>(MemberList.None);
    }
}
